﻿<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="Projekt_2_ASP.NET.Main" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <hgroup class="title">
        <h1><%: Title %>.</h1>
        <h2>V&auml;lj en produkt och l&auml;gg till er kundvagn.</h2>
    </hgroup>

    <section class="contact">
        <%--<header>
            <h3>Phone:</h3>
        </header>
        <p>
            <span class="label">Main:</span>
            <span>425.555.0100</span>
        </p>
        <p>
            <span class="label">After Hours:</span>
            <span>425.555.0199</span>
        </p>--%>
        <asp:GridView ID="GridViewProducts" runat="server" BorderColor="Black" CellSpacing="5" Width="601px" AutoGenerateColumns="False" OnRowCommand="GridViewProducts_RowCommand">
            <Columns>
                <asp:ButtonField ButtonType="Button" CommandName="Buy" ShowHeader="True" Text="Lägg till kundvagn" />
                <asp:BoundField DataField="Text" HeaderText="Produkt" SortExpression="Text" />
                <asp:BoundField DataField="UnitPrice" HeaderText="Pris" SortExpression="Money" />
            </Columns>
        </asp:GridView>
    </section>
</asp:Content>